code: public static InetAddress getRemoteIp() {
      Call call = CurCall.get();
      if (call != null) {
        return call.connection.socket.getInetAddress();
      }
      return null;
    }
docs: Returns the remote side ip address when invoked inside an RPC
  Returns null incase of an error.