Added support for sending custom header