UDP client and server sockets for react php