Contains code from:
 * http://www.jibbering.com/2002/4/httprequest.html
 * http://www.xs4all.nl/~sbpoley/webmatters/formval.html
