diff --git a/src/common/xmpp/transports.py b/src/common/xmpp/transports.py
index 7af9dcfa895615a5f6b9fbfd4848dd3379c45976..e7a22731fdd5c44a9de3537b0697e0bdc72edb0f 100644
--- a/src/common/xmpp/transports.py
+++ b/src/common/xmpp/transports.py
@@ -150,6 +150,7 @@ class HTTPPROXYsocket(TCPsocket):
             and optional keys 'user' and 'password' to use for authentication.
             'server' argument is a tuple of host and port - just like TCPsocket uses. """
         TCPsocket.__init__(self,server)
+        self.DBG_LINE=DBG_CONNECT_PROXY
         self._proxy=proxy
 
     def plugin(self, owner):