Fix bug where port number was included in Host