Added dynamic SOCKS server support

Changed the config file to use socksStart,socksEnd and socksActive,
instead of proxy variable.