Added authorization operations

Added authorization operations and ability to get connection by authorization token.
I'm not familiar with the authorizations yet. Can you please enlight me (or point me to some doc): what are scopes for?