add credential support for cors headers
Merge pull request #76 from p1tz/master

add credential support for cors headers