CONN-1422 Findbugs High DirectConfig Warnings

The fix is for incorrect byte array comparisons and 1 self comparison