finally working packet insertion
for more information see comment in channel.cpp
a lot of trash:(