s3:smbd: add infrastructure for SMB2 support