only alloc TCP when features requiring it are enabled