Added the ability to clear the output buffer before setting the response

The PR for https://github.com/RWOverdijk/AssetManager/issues/143