PHP library for easy OAuth2 authetification using curl