Object obj = impl.getOption(SocketOptions.IP_TOS);
Object obj = getImpl().getOption(SocketOptions.IP_TOS);
	public int getTrafficClass() throws SocketException {		if (impl == null)			throw new SocketException("Cannot initialize Socket implementation");		Object obj = impl.getOption(SocketOptions.IP_TOS);		if (obj instanceof Integer)			return ((Integer)obj).intValue();		else			throw new SocketException("Unexpected type");	}