Better logging in connection. Attach return_consumed_capacity to all operations
New constants
Check for data before using it
Tests now check for return_consumed_capacity in args