parsing the message received via sockets.
the client side stuff works.
think i am done.