small refactor of OCSP request parsing (#4447)

This allows us to reuse these functions in the OCSPResponse object in
the future
1 file changed