Attempt fix for #77. Add support for # 'protocol'.
Nix jdoc warning
Added javadoc for # protocol
Merge branch 'pr/441'