- select shouldn't return an error when the socket is valid, but disconnected
 - recv should return 0 once the socket has disconnected
 - send should set ENOTCONN once closed, and EAGAIN while connecting
 - updated tests to use O_NONBLOCK and better conform to coding standards
renamed socket tests
removed unused EMBED_SIDE define