Update Lookupd address routine to support full URI

Code review
Merge pull request #50 from leonyu/update_lookupd_address_support

Update Lookupd address routine to support full URI