Don't consider response with {error: null} to be an error.

According to http://json-rpc.org/wiki/specification error:
> An Error object if there was an error invoking the method. It must be null if there was no error.