Add support for configuring http