RPC Client support

Added some WAMP client functionality, borrowed heavily from AutoBahnJS and tried to keep compatible with it