removed a useless variable
fixed the memory leak issue caused by socket listener
changed the implementation buffer pool and buffer returning
improved the test case