add API on config to allow to use RPK without certifcate

I add an API to allow to configure scandium to be used with RPK without certificate.
The second commit, is more cosmetic, I think the code is clearer like that. 
this code could be factorized in a Handshaker protected method?