adb: improve socket tests.
am: e523e4e54b

Change-Id: I55f9e76ad16054f3743174a0827d88bfcf91e67e