add http persistent connections according to https://github.com/Planbox/rest-client/commit/90b427e5cd019cee4aa4a2a81def0a7b5b342662