added _escaped_fragment_ support
fixing check for zero if onResourceError forces pendingRequests below zero