Fix backtrace with protobufjs
Fix git fetch for older versions of git

Review 1165 by @Tryneus
Use define_method instead of method_missing

Review 1168 by @mlucy
Closes #1896
Do not send a CORS header in release mode

Review 1169 by @neumino
Merge branch 'next' into sam_alt