Fix for sslopt and some other improvements