Set user `endpoint` on instantiation
Merge pull request #2 from segmentio/refactor/url-simplification

Set user `endpoint` on instantiation