allow disabling certificate verification

Current situation

When using ssl, there is no way to disable certificate check. This can be annoying when trying to debug connection problems.

Desired outcome

A way to at least temporarily disable certificate checks