final Request request = Request.Post("http://" + host + ":" + port)
.socketTimeout(0).connectTimeout(0);
if (proxyhost != null && proxyport != null) {
request.viaProxy(new HttpHost(proxyhost, Integer.valueOf(proxyport)));
}
final HttpResponse response = request
.addHeader(Version.HEADER, Version.getCurrentVersion().toString())
.bodyByteArray(bytes).execute().returnResponse();
return handleResponse(response);
} catch (final Exception e) {
if (e instanceof SmallerException) {