POST requests headers transmitted when using XDR

This PR updates the swf object to forward headers it is passed when issuing POST requests.