Update session.php to support upload speed limit