Updated Xcode samples. Found bug in TcpServer sample (OSX only).
Event handlers set to nullptr in destructor
Merge branch 'dev'