add support for host:port syntax