Support to WAMP RPC calls

Returns one of the following messages, accordingly:
- ERROR
- RESPONSE