Added a method to resolve hostname