My implementation for c-based http server