Patch updated to print tcp packets and python test now works