Switch stream to SSL