add support for sending headers for a request