refactored server vars init and response headers init
Merge pull request #9 from zelgerj/master

refactored server vars init and response headers init