Fix `brew doctor` error.

With that `require 'net/http'` line, brew doctor will raise an error
complaining that `Class is not a module`.