sending and receiving udp packets from server
received messages will be sent back to the browser via websockets