public void checkFeatures() throws IOException
	{
		Reply reply = sendCommand(new Command(Command.FEAT));
		reply.dumpReply();
		if (ReplyCode.isPositiveCompletionReply(reply)) {
			List<String> lines = reply.getLines();
			
			for (String s : lines) {
				if (s.indexOf(Command.SSCN) > -1) {
					setSscnSupport(true);
				} else if (s.indexOf(Command.PRET) > -1) {
					setPretSupport(true);
				} else if (s.indexOf(Command.CPSV) > -1)
				{
					setCpsvSupport(true);
				}
			}
			if(sscnSupport == true)
				setSecureFXPType(Command.SSCN);
			else if(cpsvSupport == true)
				setSecureFXPType(Command.CPSV);
			else 
				setSecureFXPType(null);
		}
	}