A few tweaks

These are some tweaks that I think will cut down code in applications using jsonquest and perhaps make them a bit safer. There's definitely an argument for not including these tweaks, so I'm just putting this out there.

* Safer TLS defaults
* Error out on invalid json
* Automatically handle json error messages