remove unused method PeerConnection.cleanup_socket