add additional functions and rebuild socket_client.java