Fixed UDPSocket.connected not initialized