Ipswich have signed former Gillingham and Blackburn goalkeeper Jason Brown on a short-term deal until the end of the season.