Use HTTP Basic Auth if credentials specified in URI
Merge branch 'master' of github.com:deadly11ama/NEST into basic-auth