Use cowboy_req instead of cowboy_http_req for compatibility with cowboy >= 0.8
Update calls in cowboy_response_bridge for compatibility with 0.8.3.