Why is the HAWHAW proxy implemented as PHP script?
C-implementation would have some advantages under performance considerations. But on the other hand it would mean a re-implementation of the logic which is already implemented in the HAWHAW PHP class library. The big advantage of the PHP approach is that the original HAWHAW PHP class lib is the core of the HAWXY script. HAWXY in fact does know nothing about markup languages. In principle it is just a XML parser, who serves the HAWHAW PHP class lib’s API. If the HAWHAW PHP class lib will be enhanced and improved, HAWXY will automatically benefit from all changes.