Make progress against #95.

Create unit test for `bufferedAmount`, expose it for the WebSocket transport, and add it for the `BufferedSender` transports.