Add NSError.isNetworkError.

This checks for the panoply of errors in NSURLErrorDomain that all
variously mean "can't speak to the network".