Parse HTML from HTTP request before processing it