Update connect-jsonrpc.js

renamed req and res to request and response