Use http library in plugins/deer; fix warnings