We use mio 0.6.x to handle socket polling, but closer inspection of its code reveals gratuitous unsafe code. Alternatives like polling look more promising. While some unsafe code is unavoidable due to FFI, we should strive to rid ourselves of gratuitous unsafe code.