agent: use mongo.DialWithInfo

This sets the socket timeout, etc.