socket address code (TODO: select, non-blocking, sendto/recvfrom)
- some minor changes in docs