Change terminology: apiKey to appId
Merge pull request #216 from segmentio/fix/heap

Fix/heap