Basic upgrade functionality now in place: users, channels.

Still very alpha. Listening fds still not carried across, links to other
servers probably don't work.