String scheme = curi.getUURI().getScheme().toLowerCase();
if (scheme.equals("http") || scheme.equals("https") &&
server != null) {
// Update connection problems counter
if(curi.getFetchStatus() == S_CONNECT_FAILED || curi.getFetchStatus() == S_CONNECT_LOST ) {
server.incrementConsecutiveConnectionErrors();
} else if (curi.getFetchStatus() > 0){
server.resetConsecutiveConnectionErrors();
}
// Update robots info