Code refactoring
tcp packet construction add