add service to xmlhttprequest objects