Fix stream_body when used by multipart
Update version to 0.6.1
Update AUTHORS file
Switch to Ranch for connection handling

This is the first of many API incompatible changes.

You have been warned.
Have only one -export and -export_type per line

This should make easier spotting additions and removals in commits.
Change a websocket error from {error, protocol} to {error, badframe}

For improved consistency.
Update behaviours for R15B+

This effectively drops the R14B compatibility.

The cowboy_req:req() type will be introduced in a future commit.
It refers to the #http_req{} record.
Rename cowboy_http_protocol to cowboy_protocol
Rename cowboy_http_req to cowboy_req
Rename cowboy_http_rest to cowboy_rest
Rename cowboy_http_static to cowboy_static
Rename cowboy_http_websocket to cowboy_websocket
Introduce a cowboy_req:req/0 type

Cleanup the typespecs of the cowboy_req module following this.
Replace cowboy_req:host/1 with cowboy_req:raw_host/1

The latter is much more useful than the former, which ends up
being removed.
Replace cowboy_req:path/1 with cowboy_req:raw_path/1

The latter is much more useful than the former, which ends up
being removed.
Separate multipart from body_state
Change type #http_req{} to cowboy_req:req()

This removes cowboy_static's dependency on http.hrl.
Remove two unneeded Req modifications
Add a cowboy_req:to_list/1 function

Removes a lot of duplicate code when printing error messages.
Put socket and transport into cowboy_websocket's #state{}

As part of the work to make cowboy_req:req() opaque.