ByteBridge.flush() does not flush anything if the target buffer is not writable but expandable

- Fixes #1055
- fire inboundBufferUpdated() again if the bridge was not flushed completely.