Minecraft protocol implementation in Python