Fix to #380. DialogSocket was crashing (SIGSEGV) when a timeout occours.
Merge pull request #383 from cristiantm/fix-dialogsocket

Fix to #380. DialogSocket+SecureServerSocket was crashing (SIGSEGV) when a timeout occours