more granular debug printer

[#75183186]

Signed-off-by: Johannes Petzold <jpetzold@pivotallabs.com>
make debug printer work on SSL

[#75183186]

Signed-off-by: Johannes Petzold <jpetzold@pivotallabs.com>