Replace fprintf(stderr,...) by LOGGER_*() in net_crypto