Compiler flags for examples++/test.sh
Deleted copy constructor to avoid double close.
Reactivated destroy() call in socket::~socket()