Make it easier to change the urlspec.
Better urlspecs.
Pass the server to connect to on the query string.
Better comment the privmsg function.
Build login messages.
Test the building of login messages.