Add Client/Server classes, fix Address handle

And add a few useful enums to Address.