browser2: Add an option to convert POST data to the proper encoding

And autodetect it on forms. There is no other way to know what is the
expected encoding.