Building Flexible Data Center Network Stacks for the Terabit Era