Printing facilities for sockets.

- Provide a port accessor for the address class.
- Implement a missing accessor.
Adding blocking flags for resources.
Adding non-member fns for resource flags.
Support incomplete system calls.
Add write events to the reactor.