Refactor large onreadystatechange event and break into a negotiator. Don't force parse using the Accept header if a Content-Type header is not found. Instead, just pass through the response. Refactor tests to test new behaviour.
Update documentation.