Now loops over both http and https vhosts properly. Fixes GitHub issue #2. Signed-off-by: Alan Orth <alan.orth@gmail.com>