add Connection class, with handle_message stubs