refactored connection handler shutdown and response default header handling
fixed coding standard
Merge pull request #15 from zelgerj/master

refactoring