Added test for the "HTTP Parse Error" bug
Fixed parse error bug