Add INVALID_LINK_MAX_DURATION macro to control the duration from link broken to deleting the client or reusing the client;
Add GRACEFUL_CLOSE_MAX_DURATION macro to control the duration while waiting the graceful closing end;
Add template support to st_server_base and st_server_socket.