added support for generating an x-oauth string.