Call ssl:setopts, not inet:setopts.