Replace `:cowboy_http.urlencode` and `:cowboy_http.decode` with `URI`.
Fix whitespace.