Fixed #371 to only look at the first host in forwarded hosts.
Merge branch 'master' of github.com:mitsuhiko/werkzeug
URL fixing no longer quotes certain characters.  This fixes #262