Add server.hpp and socket param (v3)