Adding configuration to listen for incoming connections when connected via SOCKS proxy

Complete forwarding of connections, including incoming connections over a SSH SOCKS proxy is possible when using the command: user@host.com -D 8080 -R *:8444:localhost:8444 However, due to the disabling of the listener when using SOCKS, the application won't listen to the incoming requests. This patch allows the listener to be configured when SOCKS is being used, and thus full connection functionality can be achieved from behind a firewall by using an SSH tunnel.