1. Ignore case in scheme(http) detection; 2. Do not output some 'normal' errors; 3. Use defer to close connection, notice that we cannot return until we are done with the connection