Avoid conflicts between default JDWP sync port and transport address.

Establish the JDWP transport connection before binding the
sync socket, so that when the sync port is chosen by the OS,
the latter won't interfere with the transport address.

(cherry picked from commit dc011649298aefaae12c8cda3c0efe282b2383e1)

Bug: 28927931
Bug: 28869570

Change-Id: Icb4a011f84ecb83dc9a170441ab55f33d4a33523
23 files changed