Log socket

- Move common socketio namespace functionality in CustomNamespace base class
- Send error message to ui if ssh connection fails in ShellNamespace