adding code for communicating with webpages including NTLM webpages via CURL