fix broken keepAlive timeout

problem with calling `empty` is that in the libevent driver implementation of `empty` checks `leastSize` and `leastSize` is blocking without a timeout. this in turn renders the keepAlive timeout useless.
Merge pull request #597 from Extrawurst/patch-1

fix broken keepAlive timeout