fixed the bug of dirty ssl, now when a thread to deal with a secure client or a the ssl handshake fails, all the mem allocated to deal with ssl is freed
upgraded the documentation