Add option to allow support for self-signed SSL certificates