Add concept of resolvers for getting key and ip/port