fixed socket service, added production config