Fixed server not considered up when no index file

HTTP `404` return code should be considered as a success when checking if server is alive or not. For instance, this is happening when index file is missing from current directory.