Fix performance issue with poorly formed requests having trailing whitespace