Added GetResult to return socket close status.
Reword assertion.
Allow delegate to be optional.