commit ssl and wss connect