Increased java-client dependency to latest version (0.4.0)