Added support for adding custom headers to requests