UDP client and server sockets for React PHP