Added support for custom request headers