add keepAlive and sendPacket. v0.0