Merge changes I877b8027,I469bd931

* changes:
  adb: extract atransport's connection interface.
  adb: fix a leak.