Split curldebug into 2 methods, so can be used to log WebSocket connects.
Split curldebug into 2 methods, so can be used to log WebSocket connects.

- Also linting: replace single-char variable name with multi-char name.

exosite/MrMurano,exosite/MrMurano