add PSK support