spec stuff
finish up spec, add connection handlers and basic test routine