Thanks to ePirat for the suggestion.
This generates error pages based on IDs. This allows to reuse errors and add more advanced information to them. This patch also makes Icecast send in plain text OR HTML based on the clients Accept:-string.