Added basic request head parsing