Ssl is now automaticly detected, and TCP works