Remove duplicate http:// string

Fixes #1 by removing the 'http://' string from the endpoint variable declared in
setEndpoint(self, endpoint)