Fixed HTTP issues in ServerThread.cpp
Merge pull request #28 from torkelah/master

HTTP fixes