setNoDelay and setKeepAlive used undeclared 'self'