Generic HTTPS proxy for logging non-HTTP traffic