Started implementation of protocol on the server side.