Move net\socket to net\endpoint.