Latest updates

I'm glad you forked my repository as a development reference, but so that you have a working copy (with both Yggdrasil and legacy authentication support), you should merge my latest changes.  Also, since you mentioned this is for development reference, I would not mind answering any questions you might have.  Most of the information I used to code the project came from personal reverse engineering and from http://wiki.vg/Authentication and http://wiki.vg/Protocol_Encryption.