Close thread fix

Updated doc to enable http method override as it is disabled by default in symfony
Trimmed http requests results in comments.js as it was raising a js errors

(fix #372)