Http router fix unicode

Fixes #1263 
Anyone wanting to do tests with non-ascii chars see [here](https://github.com/rack/rack/issues/150), since it required some digging.