A simple implementation of Minecraft's authentication api written in PHP