Don't redo so much work creating URL-encoded params.

Create a single URI::Parser and a single Regexp object, and reuse them.

On my laptop, this reduces the time needed by

```ruby
RestClient::Payload.generate({topic: 'performance', key: 'rest-client', value: 'better'})
```
from a whopping 7ms to a negligible 0.01ms.