Web socket for Pi to communicate with the remote server