Merge "Use hex2bin() instead of pack()"