add UnixError::number() method and fix error display
fix Socket constructor and destructor