logger(winston) added, server prepared for handling dangling sockets that are no longer connected to an client