Adding main rpc sniffer functionality