Messages transmit successfully from the client

Changed fom xml to binary serialization as this should be more efficient
and added the serializable attributes