Modify the bug that some browser may use \r as separator instead of \n
Extend the support to all the key_words in the header