[WAGON-537] Maven transfer speed of large artifacts is slow due to unsuitable buffer strategy

Implemented a buffer strategy which fills the buffer to at least 50% and has
priority over frequent writes. Added dynamic NIO buffer capacity allocation
based on the expected number of bytes to transfer.

This closes #51
2 files changed