Fix #110: use nanoTime, not currentTimeMills()
Merge branches 'http-timing-fix' and 'master'