private String sendMessageToSomeSocket(String message,
			String extraParameters, VanillaSocketThread socket) {
		extraParameters = extraParameters == null ? "" : extraParameters;
		String result = null;
		try {
			result = socket.sendMessageWaitResponse(message + "@" + "username="
					+ state.getStateParameterValue("username") + ","
					+ "password=" + state.getStateParameterValue("password")
					+ extraParameters);
		} catch (Exception e) {
			String output = "Unexpected error, gracefully dealing with it in "
					+ getClass().getSimpleName() + ". Error: "
					+ e.getClass().getSimpleName();
			System.out.println(output);
			JOptionPane.showMessageDialog(currentWindow, output);
		}
		return result;
	}