removed Dns resolution code and allow the socket to handle working with raw endpoints.