modified KeyNanny::Connector to use protocol