Adding support to resolve file path. #77
Refactoring net.waitService to support uri to try connect. #77