Added authorization operations

Added authorization operations and ability to get connection by authorization token.
I wasnt very picky about compatibility so far to be honest, maybe I should have been ;)
On the other hand I'm usually very relucant of using URL since the current impl of URL does very nasty unexpected things (ex. internet calls in #equals and #hashCode: http://michaelscharf.blogspot.fr/2006/11/javaneturlequals-and-hashcode-make.html etc.). Usually using URI is the more safe approach. What about URI?