Add socket APIs to swift-system (#281)
Port the long-standing sockets implementation from #30 to the new
staging branch. This adds comprehensive low-level Swift APIs for
POSIX socket programming.
Original Co-authored-by: Karoy Lorentey <karoly@apple.com>