Added function to convert hexadecimal bytestring to binary bytestring.