Multi-Threaded Web Server in C: POSIX Threads, Synchronization & HTTP Handling