Add test: http_head; Integrate with Travis CI

添加测试：以http head为例。