sockets.d: expose socket types in a connect call; partially expose fds