Implement part of the Minecraft login process.

Encryption will be added at a later date. This is not functional yet
(flow-networking needs some changes) but is a great start.

Signed-off-by: Chris Sanders <zidane@outlook.com>