Improved network stack