Add pendingWriteBuffers() to Transport

Add an interface to monitor the size of internal queues.