Set the PSK callback function on the client, which is used to obtain the identity
and PSK during PSK negotiation.