python3 compatibility issues

Bug-Url: https://github.com/svinota/mdns/issues/9