Two minor fixes (connection rate limiting, default http index mime type)

These changes add rate limiting to network connections, and also fixes some web browsers attempting to download the default index page instead of displaying it as a web page.