Fixed build with rust-nightly

Make it to be built with rust-nightly.
用`ignore`是为了不让rustdoc编译这段代码，因为如果编译的话，`ctx`、`socket`这些都是undefined variable。除非把整个程序写完整