Add proxy option in config.

This option is going to unify all parent proxy configurations.
refactor listen format in config similarly