Why is this virtual?  Surely the mapping from CURL codes to longs is independent of whether we're dealing with the HSS or XDM interface?