Online multiplayer is handled by Steamworks (for the Steam version), and there is a non-Steamworks solution in the works that's not quite official yet.