Add option to bypass SSL peer verification

In order to make testing on localhost a bit simpler, add an
option (that should probably not be used in a production environment)
to bypass the SSL peer verification.