Added RPC example code from WAMPlay sample.