Store custom connection flags in wrapper