Updated TCPReceiver, destructor and error messages
Updated UDPReceiver as well