Fixes some networking details.