cowboy_protocol: accept host using ipv6 literal
add unit test for cowboy_protocol:parse_host/1
make cowboy_client:request() allow to override Host header

this will be used by tests
add some tests for Host header parser
Merge branch 'ipv6-literal' of git://github.com/yamt/cowboy
Fix specs for SPDY