What does the server handshake look like?
I know an HTTP connection looks like this:
Client Server GET /hello.txt HTTP/1.1 Host: www.example.com Accept-Encoding: gzip, deflate HTTP/1.1 200 OK Content-Type: text/plain Content-Length: 13 Hello, world!
So what would this look like for an MC server? Specifically, where is the host header set by the client? (since 1.2.5 the client sends the host it connected with to the server)
I'm trying to make a port of this to update it but I'm not really sure how or what has changed since that was last updated.
I couldn't find any good hexdumped examples on http://wiki.vg/Protocol.