added protocolspecification to client
added protocol spec. to server too and added some server intitialization tests