Save channels in Connection.onClose

- Make all settings uppercase and snake_case