bugfix: set SSL mode with CONNECT request
bugfix
fix debug level