support batch request

Support Batch request on server.
via. http://www.jsonrpc.org/specification#batch
`if (Array.isArray(data)) {`