Add arguments in constructor Asynchat
Refactoring socket handler