Added --cookie and --user-agent switches. Multiple --cookie's may be specified.