Add method to get supported authentication methods
Fix bug: stop allocation channel/sftp on  disconnect
Fix comment
Replace tab to 4 spaces