public boolean registerWithServer(final String hostname) {
		try {
			Log.set(Log.LEVEL_NONE);
			kryoClient = new Client(1024 * 256, 1024 * 128);
			KryoInit.init(kryoClient);

			kryoClient.start();
			kryoClient.connect(5000, hostname, Constants.SERVER_PORT_TCP, Constants.SERVER_PORT_UDP);

			kryoClient.addListener(new NetworkListener());
			TimeSynchronizer.init(kryoClient);
		} catch (Exception e) {
			logger.warn("unable to start kryo-client: " + e);
			return false;
		}
		return true;
	}