String response = HttpRequest.issueRequest(host, port, playerName, request, timeout);
handleResponse(response);
} catch (SocketTimeoutException e) {
gameServer.notifyObservers(new ServerTimeoutEvent(role));
} catch (UnknownHostException e) {
gameServer.notifyObservers(new ServerConnectionErrorEvent(role));
} catch (IOException e) {
gameServer.notifyObservers(new ServerConnectionErrorEvent(role));
}
}