Refactored send/receive/connec - added extra logging