Implement server shutdown
Close server socket at the close lifecycle phase
Fix HTTP HEAD handler

Prevent from an NPE being thrown when serializing a response.
Implement HTTP HEAD test
Refactor integration tests - remove code duplication

Abstract out code for status and protocol version verification