OCT-17 optional SSL cert validation bypass.

Tested and should be working by developer. needs verification by testers and code review by team head.
See OCT-17 for details.