Fixed spacing in Http.php and added test to cover complex searches.