Use strict_encode64 in http basic auth
OAuth2 access token has a "scope" property
Fixed the samples and lib sdl
Some more string optimizations