Merge "async_safe: don't call libc's socket." am: 1e0d28b9c2

Original change: https://android-review.googlesource.com/c/platform/bionic/+/1406411

Change-Id: I11b3694cf294406f7badbd08a8d758eb86351f74