Add endpoint option

For support new treasuredata.com endpoint.