Add switch to enable/disable acceptance of self-signed certs

related to diaspora/vines#23