First support of node authentication on smart-proxy

This is still a first draft.
client.pem is still hardcoded for instance