Update sockets for ssl fix self-singed certificate acceptation