Moved the backend connection logic to server_socket.c