Should this be `host[:port]` instead of `host:[port]`, since the colon should also be not specified if you want the default port?  Or is the colon required to get the default?  I haven't looked closely at the code that checks and defaults that bit so don't know for sure.