options: Fix the ssh_options_set() function.
options: Fix the ssh_options_set() function.

This is a refactor so that we check if the values are sane the user
wants to set. If not return an error.

pouete/libssh,DouglasHeriot/libssh,nviennot/libssh,taikoo/libssh,wangshawn/libssh,mwgoldsmith/ssh,sebadoom/libssh,robxu9/libssh,jt1/honeypot-libssh,taikoo/libssh,mwgoldsmith/libssh,wangshawn/libssh,bigcat26/libssh-mod,elastichosts/libssh,mwgoldsmith/ssh,pouete/libssh,nviennot/libssh,mwgoldsmith/libssh,kedazo/libssh,sebadoom/libssh,Distrotech/libssh,pouete/libssh,DouglasHeriot/libssh,wangshawn/libssh,jt1/honeypot-libssh,bigcat26/libssh-mod,DouglasHeriot/libssh,pouete/libssh,Distrotech/libssh,Distrotech/libssh,jt1/honeypot-libssh,bigcat26/libssh-mod,wangshawn/libssh,nviennot/libssh,kedazo/libssh,sebadoom/libssh,taikoo/libssh,mwgoldsmith/libssh,elastichosts/libssh,kedazo/libssh,mwgoldsmith/libssh,robxu9/libssh,taikoo/libssh,kedazo/libssh,sebadoom/libssh,mwgoldsmith/ssh,bigcat26/libssh-mod,nviennot/libssh,elastichosts/libssh,DouglasHeriot/libssh,robxu9/libssh,Distrotech/libssh,mwgoldsmith/ssh,jt1/honeypot-libssh,robxu9/libssh