Added support for http requests