dependency updates

- libthrift 0.9.0 (+ small code changes)
- httpclient and httpcore 4.2.x
- various other small changes