Checks if the attribute 'code' exists, if not, consider 0 as default value.

I use the jsonrpc4j as a client library, and other library to server, written in .Net. This other library don't support 'code' attribute on error messages. I suggest this change to make it compatible with servers that don't return this attribute.