Fixed lack of CORS support, Chrome sending pre-flight OPTIONS request.

Just Trying pull request.