@Override
	public PacketProcessorFactory createPacketProcFactory(Map<String, Object> map) {
		byte[] separator;
		if(map == null) {
			separator = DEFAULT_SEPARATOR;
		} else {
			Object sep = map.get(FactoryCreator.KEY_PACKET_SEPARATOR);
			
			if(sep == null)
				separator = DEFAULT_SEPARATOR;
			else if(!(sep instanceof byte[]))
				throw new IllegalArgumentException("key=FactoryCreator.KEY_PACKET_SEPARATOR must contain a byte array");
			else
				separator = (byte[])sep;
		}
		
		DefaultPackProcessorFactory factory = new DefaultPackProcessorFactory();
		factory.setSeparator(separator);
		return factory;
	}