pub fn get_socket_remote_endpoint(file: &Arc<dyn File>) -> Option<IpEndpoint>
Get remote endpoint from a socket