Handle hosts in the format of "hostname:port"

Sometimes people use local AWS emulator for debugging/testing, so it is useful to support non-standard ports.

Thanks!