Prints out a bytearray as a hex string
proc echoHex(s: string) {.raises: [FormatError, OverflowError], tags: [].}