[liujing] add test case about message header is null.
make regex pre compiled