Fixed some compilation error on MSVC in CHAP and CTOC frames support.
Merge pull request #398 from TsudaKageyu/fix-chap

Fixed some compilation error on MSVC in CHAP and CTOC frames support.