Added Terraria protocol implementation.