Remove extra whitespace line.
Fix bug due to comparing unicode to strings in Python2.x.
Check for basestring type in Python2.x, and type str in Python3.x.
Change util→_util.
Add checks on cipher/hash/digest preference strings.