Null Pointer Exception (null socket) using proxy

Found issue using proxy - if proxy enabled, socket does not initialized (see https://github.com/igniterealtime/Smack/blob/master/smack-tcp/src/main/java/org/ jivesoftware/smack/tcp/XMPPTCPConnection.java#L599)

Using Smack 4.2.0-RC2-SNAPHOT.

Thanks for reporting. Fixed with Initialize Socket in TCP connection when proxy is used · Flowdalic/Smack@51d3c31 · GitHub