Fixed bugs #3049 and #3176: HTTP status 503 is sent when $TSFE->set_no_cache is called