Added the ability to start the rpc server for fetching stats from the listen command. If the rpc server is enabled in config, the rpc server will now start.