I wrote enough of an XMPP server to send a message to my account on another server. It's fun to see how differently network protocols were designed before HTTP(S) became as popular as it is now.