Added missing boost dependency (after upgrade to boost 1.53
Converting -mt deps on boost libs to non-mt since regular boost release on ubuntu does not contain them.
Make sure the socket is destroyed before the destructor of DefaultConnection is finished.
Handle destroying sockets properly.
Shutdown the socket before calling close.
Cancel socket before closing it.
Don't do anything if the destructor has been started