move method HttpClientHelper.getSocketConnectTimeoutMs() to parent class
fix edition GWT
fix GWT edition: add StringWriter.close() in gwt version