My attempt at implementing SSDP for python