Issue #369: Fix config_dir assignment

In proxy.py, the config_dir was only initialized in a 'if' statement and
used outside it.
So if the SSL certificate and key were received as parameters, config_dir
was undefined.
Fix it.

Signed-off-by: Aline Manera <alinefm@br.ibm.com>