Fix issues reported by Reynold
Merge branch 'master' of github.com:mridulm/spark
If key is not valid, close connection
Be more aggressive and defensive in select also
Change indentation
Merge branch 'master' of github.com:mridulm/spark
Be more aggressive and defensive in all uses of SelectionKey in select loop
Spurious commit, reverting gitignore change
Add addition catch block for exception too
Merge branch 'master' of github.com:mridulm/spark