The custom port of CodeIgnitor's Xss class.