Add msg_notfound
Use b2x instead of hexlify in net.py