implemented octet-counting and non-transparent-framing for TCP.