Added support for http configuration