Fix warnings in libwww2

These patches fix some warnings in the libwww2 directory which should now compile without any warnings at all. This is the first step to refurbish the source code in a way that no warnings remain.