extra constructor that parses hostname:port strings