Use regex for checking http header