Update test OCSP script "tocsp" to use shell functions and to use