Add a workaround for parse errors in cowboy_protocol
Do not crash if connection is closed while sending a file using sendfile
Do not crash if connection times out while sending a file using sendfile
sendfile/2 fails by throwing a {badmatch, {error, enotfound}}

The internal implementation for sendfile fails with a badmatch in
prim_file:sendfile/10 if the socket is not connected. This should
be fixed upstream, but as a workaround we catch the error instead
of crashing.
Merge branch 'fix/parse-errors'
Merge branch 'fix/sendfile-error-handling'