basic marshalling

I have converted all the files to c++ as I believe that this will make
things easier and in addition have gotten basic marshalling of messages
to work. I was able to send an 8 byte message from the client to server
with the use of protobuf marshalling.