Added logic to accept self-signed SSL certificates for testing purposes