Implement OAuth for HTTPS messaging