public void packetEncrypted(ByteBuffer toSocket, Object passThrough) throws IOException {
		OperationCallback h;
		if(passThrough == null){
			h = NullWriteCallback.singleton();
		} else {
			SecProxyWriteHandler handler = (SecProxyWriteHandler)passThrough;
			h = handler;
		}

		channel.getRealChannel().oldWrite(toSocket, h);
	}