initial encode
Merge branch 'master' of github.com:mwhittaker/mongo-rust-driver