tweaks to transport layer
refactored link layer to accept IBufferSegment. This allows physical layer writes to be optimized
fixes for test cases
fixed more test cases
tweak to demo