added use of latency to returned stubs. Authorization header can be in user:pass notation