Initial XOAUTH2 implementation