Profiler should only render when Content-Type is text/html.

Signed-off-by: crynobone <crynobone@gmail.com>