Two changes:

- Use NSNumber literals instead of scalars in NSLog statements in order to avoid warnings.
- Don’t nil out _socket in closeSocket.