(#1453) - allow custom xhr libs