Added a way to generate the oauth token necessary for write permission using upload. Strava still doesn't like the curl command run by kernel.