clear up semantics of named methods, add a cleanup method to clear a dirty socket