Added option to allow overwritting HTTP client parameters.