support batch request

Support Batch request on server.
via. http://www.jsonrpc.org/specification#batch
Can you change this to ``function cb(obj)``? This will make sure ``<function>.name`` exists which will then be used in a stack trace if something goes horribly wrong, making that more legible and therefore better. :)