Added basic support for CREDENTIAL frames

Fixes #2