parse host port