Reworked malformed URI fix so that the user always gets a 400.
Merge pull request #217 from RackerWilliams/bad_url2

Reworked malformed URI fix so that the user always gets a 400.