fixed the http response headers.

YOU NEED TO CALL http.WriteHeader(int) AFTER YOU SET THE OTHER RESPONSE HEADERS, BUT BEFORE YOU WRITE THE ACTUAL RESPONSE BODY.

That only took a week or so to figure out.