setEndpoint() is now declared static function
Merge pull request #6 from tsolar/master

setEndpoint() is now declared static function