design and style issues, fixed multicore socket_listener issue