There's a whole other conversation to be had about why libraries have these crappy security gateways. Blue Socket randomly locks me out for "bad behavior", but forgets about the lockout if you browse directly to the logout handler. I keep meaning to go find the library IT guy and demanding that they allow AIM.
Hmm... I think I was trying some wacky ports like "4444" (Selenium) and 5901 ('raw' VNC). I also use a non-standard SSH port (not port 22) for my remote servers. I'll have to give it another go sometime. And yeah, I know I should be doing everything over an encrypted channel anyway. :-)
You should tunnel everything through ssh or vpn when on a public network, anyway, so having a server or router you can ssh into on 443 and use for tunneling is a must for mobile work since it solves the port blocking problem, too.