made TCPSegment constructors better