Bug 998796: refactoring. wrap answer from server in a set().