Coding style
Log TLS / SSL error
Fix https under 0.8