#fixes 236 - Use correct interface for setting cert validation options - Original fix by John Dennis