[fix] Add correct header name, fixes #499
[fix] Remove unnecessary else if
Merge pull request #500 from nodejitsu/gh499

[fix] Add correct header name, fixes #499