support for protocols
Merge pull request #2 from johnno1962/patch-1

support for protocols