Now that we have access to the configuration parsing outside of the main package, we can move the actual parsing to the command line package.
ListenerCfg allows passing custom listeners to the main method, to be used for the wallet unlocker and rpc server. If these are set these will be used instead of the regular RPC listeners.