Added parameter encoding for POST body.

Still defaults to JSON but you can also do URL encoding.