change btconnector from java to scala
sorter byte protocol research