Used base 64 encoding for talking to the web server..
Receive messages from the server