HttpRequest class and fix-ups.