add bluetooth server support, we can toggle client & server in btdialog