Added support for HandlerThread
Merge remote-tracking branch 'origin/master'