added support for RPC calls, when your shadow service is an RPC the method of your shadow service is called.