Sinatra extension for *-RPC