fix #800: NPE on proxySelector.select
Merge pull request #807 from square/adrian.flakey-tests

Fix NPE on proxySelector.select