misc: add comment, tidy code
tls: remove psk support as node does not support it
tls: add tls_clear
tls: add some members