Fix typo and update mime types
Better parsing for empty query params.
Don't try converting query params. Keep as strings
Better escaping for query param names