added declarations to socket_client.java