Refactored private attributes.
Fix bad call for socket.close().
First interpretation of the TCP_PULL protocol.