message: Do not bind socket to INADDR_ANY if connected
  Summary: If connected, the socket will be already bound
diff: @@ -135,13 +135,20 @@ void happyEyeballsSetUpSocket(
  applySocketOptions(
  socket, options, sockFamily, folly::SocketOptionKey::ApplyPos::PRE_BIND);
  socket.setReuseAddr(false);
  +
  if (localAddress.has_value()) {
  socket.bind(*localAddress);
  - } else if (peerAddress.getFamily() == AF_INET) {
  + }
  + if (transportSettings.connectUDP) {
  + socket.connect(peerAddress);
  + }
  + if (!socket.isBound()) {
  + if (peerAddress.getFamily() == AF_INET) {
  socket.bind(folly::SocketAddress("0.0.0.0", 0));
  } else {
  socket.bind(folly::SocketAddress("::", 0));
  }
  + }
  applySocketOptions(
  socket, options, sockFamily, folly::SocketOptionKey::ApplyPos::POST_BIND);
  if (transportSettings.turnoffPMTUD) {
  @@ -149,9 +156,6 @@ void happyEyeballsSetUpSocket(
  } else {
  socket.dontFragment(true);
  }
  - if (transportSettings.connectUDP) {
  - socket.connect(peerAddress);
  - }
  if (transportSettings.enableSocketErrMsgCallback) {
  socket.setErrMessageCallback(errMsgCallback);
  }
  