[feature] abstract endpoint send/recv bhv