api break: Return bytes read/written on low-level send and receive
Added hooks for sending and receiving packets