adds sniffing option for transport protocol

solves #22