Fixed segfault and astlyed server.hpp from lesson-07-rest-api