Fixed HTTP issues in ServerThread.cpp