* `net` dependency and move `mongodb` to optionals