fix crash on protocol lookup

- fix #74 
- added unit test for meter_lookup_protocol
- btw: it's currently case sensitive. is that really wanted?