adding support for control sockets for fetching endpoints