Add length sanity check in SSLv2 n_do_ssl_write()