public void SendPacket(StreamBuffer buffer, Action<StreamBuffer> onSent = null) { Session?.SendPacket(buffer, onSent); }