[XNIO-215] In the event of an error being detected or reported close the channel to prevent a runaway loop attempting to continue to use it.

The change within this pull request so far does eliminate the runaway thread, having said that HttpUpgrade is a rather special case within XNIO - opening the pull request to verify if this is the correct approach to handling a failure whilst establishing the connection (especially SSL connections).