adding tcp header and pseudo header