update decoders.rb with code from https://github.com/igrigorik/em-http-request/issues/207