Fixed bug with host/port parsing.