i have added some prototype send/recv regex matching stuff