updating socket io func passed cor configs thru options object to socket io function