Add new optional command line argument "--useragent=s"

It seems like CloudFlare does not only stick its cookie to an IP
address but also to the user agent string.
Add new optional command line argument "--debug"

This enables debug output upon errors.
Fix perl warning with newer perl versions

The warning was:

"CGI will be removed from the Perl core distribution in the next major
release. Please install it from CPAN."