mocking up OAuth 1.0/a
adding additional util functions for forthcoming oauth1