Add `pure`/`nothrow`/`@nogc` attributes to `std.socket`.

Also add `in` parameter storage classes in some cases.
Also add attributes to `std.c.windows.winsock`.
Make `getnameinfo`, `getaddrinfo`, and `freeaddrinfo` pointers `immutable`.
Add `@safe`/`@trusted`/`@system` attributes to `std.socket`.
[Fix][DDoc] Add missing third `/` to DDoc comment.
[Fix] Fix `SocketSet.count` return type.