Use CurlClient().

Not working with normal StreamClient().

HTTP/1.1 411 Length Required
Login

Request access token.