- first implementation for serverside packethandling