private String executeCommand(String commandAsStr) {
        String response;
        try {
            response = client.sendRequestToServer(commandAsStr);
        } catch (HttpClientException e) {
            response = e.getMessage();
        }
        return response;
    }