fix crash on protocol lookup
Merge pull request #75 from mbehr1/fix_protocol_lookup

fix crash on protocol lookup if protocol doesn't exist