back to the normality, warn if we use a deprecated function

Patched cowboy to use the right SHA function on Erlang R16 and R17 so we
can reactivate the check on deprecated functions.