Add support for setting timeout options and HTTPS insecure options.