lib.sockets: Refactored close, write and shutdown events
lib.sockets: Refactored close, write and shutdown events

eriol/circuits,eriol/circuits,nizox/circuits,treemo/circuits,treemo/circuits,treemo/circuits,eriol/circuits