Added functions for connection flags