[Socket] Fix Socket.BeginConnect to multiple IPAddress (#4960)