Add missing network declaration for Solaris.

These are required to compile std.socket.
Merge pull request #1035 from redstar/solaris_net

Add missing network declaration for Solaris.