Fixed some class definations of http server