Accept options object - backward compatible; add hostname option
Get port from host string if it contains a colon
0.0.3