Adding client to filterPacket function