Adding replicaset connection

@andresf @guilleart @jaimesromero