Basic MongoDB URL parser