Add protocol and server spec

Add server and protocol specification.