use latest hackney_lib

- this change reuse `hackney_url:normalize/1` which simplify the code
  and allows to make the IDNA parsing only once.
- reuse the new hackney_mimetypes to handle mimetypes