@@ -0,0 +1,785 @@
+package net.thechunk.playpen.netty.handlers;%0A%0Aimport io.netty.channel.ChannelHandlerContext;%0Aimport io.netty.channel.SimpleChannelInboundHandler;%0Aimport io.netty.handler.codec.DecoderException;%0Aimport net.thechunk.playpen.protocol.Protocol;%0Aimport net.thechunk.playpen.utils.AuthUtils;%0A%0Apublic class AuthenticatedMessageVerificationHandler extends SimpleChannelInboundHandler%3CProtocol.AuthenticatedMessage%3E %7B%0A    @Override%0A    protected void channelRead0(ChannelHandlerContext ctx, Protocol.AuthenticatedMessage msg) throws Exception %7B%0A        if (!AuthUtils.validateHash(msg)) %7B%0A            throw new DecoderException(%22Hash %22 + msg.getHash() + %22 is invalid (correct hash: %22 +%0A                    AuthUtils.createHash(msg.getUuid(), msg.getPayload().toByteArray()));%0A        %7D%0A    %7D%0A%7D%0A

Revert "can't use dedicated handler just yet, will have to be local vs network specific"