Request header/POSTdata support for XHR

(to be pushed after the upgrade)

Blocks #2282