Add escape() and compress() methods to validate class, and debugging method to curl class.