add support for passing optional protocol param for net probe