proper network callbacks

@qinweigong 
Shall we only loop thru the queue for handleFailure only once? probably don't want to invoke failure callback for all reqs in queue again and again, right?