production socket and fix IE permission denied error