A simple API for handling sending & receiving of object orientated packets