Now only using NTLM as authentication mechanism
Synchronized setting up tunneled connection to avoid not authorized errors
added windows batch file
better URI parsing mechanism