[#17,cors][s]: add CORS support - fixes #17.