Make sure channel doesn't attempt to send a close message before it's opened.
Merge pull request #180 from JeetKunDoug/master

Make sure channel doesn't attempt to send a close message before it's op...