Updated packet handling to Netty