Lib xhr client + unit fixtures + clean srv code (split)