Add getHeader function
Merge branch 'master' of github.com:undera/pwe