Update for latest rustc

Upgrade to new inner attribute syntax.
Introduce Send bounds on conn::Cmd.