relay: add server retrieval to connection manager