Added UNREACHABLE to Clock::settled to silence compiler warning.
Fix compilation error for Socket on older linux + OSX.

Test whether SOCK_NONBLOCK and SOCK_CLOEXEC are defined to use single system call to create socket.
Otherwise use os::nonblock and os::cloexec after creating the socket.

Review: https://reviews.apache.org/r/28125
Match future dispatch messages with type info.

Review: https://reviews.apache.org/r/28052
Fix future dispatch in tests to match function type.

Review: https://reviews.apache.org/r/28081