Cleanup of the server part, parsing of the request is now done outside of the thread, so you can kill empty requests and blacklisted ip's sooner, before spawning a thread to process their request.