More work on establishing connections within a rack + new error handling code.