Fix issue #53 by configuring the stack in `connect` 

Configure the stack when `connect` is invoked, rather than when an application calls `listen`.