Add hmsocket command line tool

Add command line tool which provides HM BLE stream access on port
10191.
Improve disconnect/reconnect behavior.