Use async socket operations in realmserver.