[tor-commits] [arm/master] Moving function for connecting and authenticating to util