Added protocol sample. Updated documentation.