Merge branch 'master' into type-warnings

* master:
  Fixes in encrypted message for clients that do not support 17 layer
  Use more straightforward way to compile mime.types
  Fixed bug from prev commit
  Probably works on apple
  small fixes
  renamed 'delete' to 'remove' in tgl-timers
  small fix
  Fixed bug in mime
  increased size of mime types array
  added missing files
  Added mime types by extension
Use safe tstrlen and ssize_t and force int cast
Tree long y
Merge branch 'type-warnings' into develop

* type-warnings:
  Tree long y
  Use safe tstrlen and ssize_t and force int cast