Allows toggling options to connect with http.

- Required when mocking a pintdns server without having to start a secure
  server.