Store custom connection flags in SocketWrapper class