Security fix: don't force HTTP protocol for external resources.

Use the same protocol with which Raspcontrol is accessed. Else, HTTPS
access would be insecure.