adding additional util functions for forthcoming oauth1