allow building for production and connecting to the right socket in that case