Refactor netbios session to use separate connect() and attach() methods instead of overloading the constructor.