DNS proxy should ignore port while initializing hosts.

DNS does not resolve correctly when the request has both host and port.