Core/NetworkIO: Handle exceptions thrown from socket constructor when retrieving remote address