Allow for the ability to ignore invalid ssl certificates

Occasionally developers will want to allow connections to go through with invalid ssl certificates, this pull request makes that possible.