Trying to add support for sending headers with request