ofxLibwebsockets with password or private key

I have been using ofxLibwebsockets for a while.
Some WebSockets though want a password or private key send to it also. How would I add this to the setup method of this add-on?

Thanks for any advice.