make PacketReceiver derive from GenericThread