Request setup was broken recently.
Fix number of conversion issues w/ normalizations.

Links containing fragments caused problems, where not correctly restored etc.
Add != operator.
Use referers by default.
Updating cookies was broken.
Force file extension matching the mime type.

This will prevent .php files from being saved, which are then not opened
as HTML by a local browser.
Work on CLI output, many improvements.