Set url-encoded content type automatically when using formParam, close #2128