Add more debug information.

Re-commit https://googleplex-android-review.googlesource.com/#/c/519430/
Add fix for win_sdk build.

Add socketpair debug log.
Also output thread information in log on host side.

(cherry-pick of d1cfb037fa5b354187880943b8e9870ce3451785.)

Change-Id: I21021bc111a3f7362a91b70593e3738125878118
8 files changed