refacteored Connection to ReplyConnection and used it in
DiscoveryService