Bring all httpful code in. Add NTLM functions directly into it.
Replace JSONHandler with a version that strips BOM tags.