Add reference counting to AsyncObject
Hostname resolution support for Peers