switchboard 0.1.0

The mio-based framework for doing I/O in simple and composable way
fn accept(ctx, sock) {
    conn = try!(accept);
    ctx.add(Http::new(conn));
}

impl Http {
    fn start(ctx) {
        ctx.add(self.sock, Read)
    }
    fn read(self) {
        match self {
            Headers => {
                read_headers()
            }
            Body => {
                read_body()
            }
        }
    }
}