Added noblocking accept() and rewrote socket examples.
Removed auto-reset from ports. (It was messing up sockets.)
Sockets now close on error.