Curl Resource Request Test

This Pull request is related to https://github.com/bshaffer/oauth2-server-php/issues/254