hack in function to set remote headers using async signing