This.connection.headers undefined when running app after meteor build

I am using something similar to the below to act on certain headers being present and what their values are. This code works great in development mode and even when running meteor run --production

Meteor.methods({
  'some-method' (param) {
    const headers = this.connection.headers;
    ... // do something with headers    
  }
}

After building my app with meteor build and running the built app, this same code fails because this.connection.headers is undefined. this.connection.httpHeaders exists, but it does not contain all headers.

Is this desired behavior? How do I access headers in a built app?

I have the same problem.