python client connects to java server