Broken implementation of tcp header