rewrote curl to use lwp useragent and support basic auth via optional args