Modified mrSocketManager to handle handshake on udp.