Sockets for Swift.