See https://github.com/mozilla-services/msisdn-gateway/blob/master/msisdn-gateway/index.js#L105