added support for custom request header