adds sniffing option for transport protocol

Fixes #27