properly dispose of packet listeners
optimize releases with -Os, don't disable ipa-sra

ipa-sra was disabled mainly because hexanode kept crashing somewhere and
in weird places. as we now know, this was not the compiler's fault.