Object buf = impl.getOption(SocketOptions.SO_KEEPALIVE);
Object buf = getImpl().getOption(SocketOptions.SO_KEEPALIVE);
	public boolean getKeepAlive() throws SocketException {		if (impl == null)			throw new SocketException("Not connected");		Object buf = impl.getOption(SocketOptions.SO_KEEPALIVE);		if (buf instanceof Boolean)			return (((Boolean)buf).booleanValue());		else			throw new SocketException("Internal Error: Unexpected type");	}