handle Location header (and Location cookie failover); send back X-Referer header; basic error handling
handle HTTP error status codes (4xx, 5xx)
fix jsonpatch.unobserve (non-native)
export unobserve to CommonJs module
read Location cookie from main HTML request and from any following XHR request