private static short matchVersionAndKey(String version, String key) {
		
		/* If the version of the client sent with the handshake is incorrect this statement will trigger. */
		if(!Database.getSettingsOption(DBConstants.SETTINGS_SERVER_VERSION).equals(version)) {
			return ValidatedHandshakeResponse.CAUSE_INCORRECT_VERSION;
		}
		/* If the key sent with the handshake is incorrect, this statement will trigger. */
		if(!Database.getSettingsOption(DBConstants.SETTINGS_SERVER_AUTH_KEY).equals(key)) {
			return ValidatedHandshakeResponse.CAUSE_INCORRECT_KEY;	
		}
		return ValidatedHandshakeResponse.NO_ERROR;
	}