merge parameters host and port to server