Add require 'net/http'

The net/http require can be needed if you use directly opds. You need require it.