fixed weird socket issues which caused us to not rx packets
cleaned up debug output