Added support for HEAD and PATCH requests.
Merge branch 'patch_and_head_support'

Conflicts:
	core.go