Added support for custom headers in XHRs (from Martin Gerholm). Bumped version to 0.5.14