Added proper header merging to the simple server.