Fix XMLHttpRequest headers API to match standard.

* getResponseHeader should match header names case-insensitively
* getResponseHeaders should return a CRLF delimited string of headers