HttpConnectionParams.setTcpNoDelay(httpParams, true);
HttpConnectionParams.setSocketBufferSize(httpParams, 4096);
HttpProtocolParams.setVersion(httpParams, HttpVersion.HTTP_1_1);
asyncHttpClient.getConnectionManager()
.getSchemeRegistry().register(new AsyncScheme("https", 443, new SSLLayeringStrategy(sslContext)));
asyncHttpClient.setRedirectStrategy(new QQDefaultRedirectStrategy());
asyncHttpClient.start();
cookieJar = new QQHttpCookieJar();
} catch (IOReactorException e) {
throw new QQException(QQErrorCode.INIT_ERROR, e);