Create protocols.pm

Original file from forked repository