Fixed a resource handling bug.
[CORS] Add CORS support - UNTESTED
[cors] Only allow GET
[cors] Fix compile error with options.
[cors] Well, that's dumb.