ensure irc socket closes
check if socket is already closed before closing
Merge pull request #819 from mikerodrigues/621

ensure irc socket closes
use other delegate methods to make the test env happy
hwhitespace
Revert "use other delegate methods to make the test env happy"

This reverts commit d651fb6f3c00483d86d2a38327b9064aab2f443d.
Revert "Merge pull request #819 from mikerodrigues/621"

This reverts commit d1b94dfde198319b38cec3659c1d0f7479a1ce8a, reversing
changes made to 04f8665ce080cf9c47defb7774c04aa086dfd0cd.