applied 92163835a08fedbc7fb583eb36d604a0e4f287ec to the example source
added feature detection for native KeepAlive support in 0.11