Fixes #61.
Previously all diagnostics had the "error" severity, now warnings are correctly reported as such
Content-Length is the number of bytes in the message, but the JSONRPC code was interpreting it as a number of characters (when both reading and writing), which caused it to fail on multibyte UTF-8 characters.
This isn't an official GTK project so better to avoid using "GTK" in the name.