added transactionid field to queries/responses: actual serialization not updated
updated BStr to operate on ByteStrings rather than Strings; most tests updated, one abandoned