added socket reuse, debug info
Added #define __INFO__ __DEBUG__