proper host and port parser