Strange string parsing of viewstate and eventValidation changed to DOM-based parsing
Function implodeParams changed to native PHP function