Added attribute to switch on and off proxy ssl.
Added check if ssl on proxy is active.