Fixed post methods also getting more arguments now that the handler's regular expression captures parts of the url
Added url encoding to values being passed to the server, fixed indentation