Update SDK to use SSL when appropriate.