Merge pull request #2 from philipn/master

getattr() needed
Use // protocol relative URL for support w HTTPS