Fix a very dangerous typo (sizeof wrong struct) that was causing random segfault. Handle reassembling tcp packets