change socket name treatment
enable multiple channels
fix usage style and error handling