Add in-memory implementation of connection repositories. SOCIAL-361