mongodb: added remote option for host and port