Added test and documentation of secureProtocol option