Incorporated review comments. Using constant instead of $ and better check for null/empty/undefined values
Merge branch 'network' of https://github.com/anumsopentech/azure-sdk-for-node into network